package com.wangxinenpu.springbootdemo.dataobject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2024-04-15
 */
@TableName("act_evt_log")
@ApiModel(value = "ActEvtLog对象", description = "")
public class ActEvtLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "LOG_NR_", type = IdType.AUTO)
    private Long logNr;

    private String type;

    private String procDefId;

    private String procInstId;

    private String executionId;

    private String taskId;

    private LocalDateTime timeStamp;

    private String userId;

    private byte[] data;

    private String lockOwner;

    private LocalDateTime lockTime;

    private Byte isProcessed;

    public Long getLogNr() {
        return logNr;
    }

    public void setLogNr(Long logNr) {
        this.logNr = logNr;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProcDefId() {
        return procDefId;
    }

    public void setProcDefId(String procDefId) {
        this.procDefId = procDefId;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public LocalDateTime getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(LocalDateTime timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public String getLockOwner() {
        return lockOwner;
    }

    public void setLockOwner(String lockOwner) {
        this.lockOwner = lockOwner;
    }

    public LocalDateTime getLockTime() {
        return lockTime;
    }

    public void setLockTime(LocalDateTime lockTime) {
        this.lockTime = lockTime;
    }

    public Byte getIsProcessed() {
        return isProcessed;
    }

    public void setIsProcessed(Byte isProcessed) {
        this.isProcessed = isProcessed;
    }

    @Override
    public String toString() {
        return "ActEvtLog{" +
            "logNr = " + logNr +
            ", type = " + type +
            ", procDefId = " + procDefId +
            ", procInstId = " + procInstId +
            ", executionId = " + executionId +
            ", taskId = " + taskId +
            ", timeStamp = " + timeStamp +
            ", userId = " + userId +
            ", data = " + data +
            ", lockOwner = " + lockOwner +
            ", lockTime = " + lockTime +
            ", isProcessed = " + isProcessed +
        "}";
    }
}
